package cn.yi.springboot.druid.mapper;

import cn.yi.springboot.druid.dto.UserDTO;

import java.util.List;

/**
 * @author: yiz
 * @date: 2018/8/1 14:47
 **/
public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserDTO record);


    UserDTO selectByPrimaryKey(Integer id);

    int updateByPrimaryKey(UserDTO record);
    //这个方式我自己加的
    List<UserDTO> selectAllUser();
}
